package com.severez.bluetoothcontroller.value;

import java.util.HashMap;

public class Constant {
    public final static String SERVICE_UUID = "0000fff0-0000-1000-8000-00805f9b34fb";
    public final static String CHARACTERISTIC_MSG = "0000fff1-0000-1000-8000-00805f9b34fb";
    public final static String CHARACTERISTIC_POWER = "0000fff6-0000-1000-8000-00805f9b34fb";

    //for test
//    public final static String SERVICE_UUID = "6e40c0a1-b5a3-f393-e0a9-e50e24dcca9e";
//    public final static String CHARACTERISTIC_MSG = "6e40d0b4-b5a3-f393-e0a9-e50e24dcca9e";
    
    
//    public final static String SERVICE_UUID_BONG_TEST = "6e40c0a1-b5a3-f393-e0a9-e50e24dcca9e";
//    public final static String CHARACTERISTIC_MSG_BONG_TEST = "6e40d0b4-b5a3-f393-e0a9-e50e24dcca9e";

    public static HashMap<Integer, String> module = new HashMap();
    static {
	module.put(0, "锤击");
	module.put(1, "按摩");
	module.put(2, "刮痧");
	module.put(3, "单向锤击");
    }

    public static HashMap<Integer, String> electricCurrent = new HashMap();
    static {
	electricCurrent.put(0, "弱");
	electricCurrent.put(1, "中");
	electricCurrent.put(2, "较强");
	electricCurrent.put(3, "强");
    }

    public static HashMap<Integer, String> frequency = new HashMap();
    static {
//	frequency.put(0, "20Hz");
//	frequency.put(1, "40Hz");
//	frequency.put(2, "60Hz");
//	frequency.put(3, "80Hz");
//	frequency.put(4, "100Hz");
	frequency.put(0, "级别一");
	frequency.put(1, "级别二");
	frequency.put(2, "级别三");
	frequency.put(3, "级别四");
	frequency.put(4, "级别五");
    }

    public static HashMap<Integer, String> duration = new HashMap();
    static {
	duration.put(0, "5分钟");
	duration.put(1, "10分钟");
	duration.put(2, "15分钟");
	duration.put(3, "20分钟");
	duration.put(4, "25分钟");
	duration.put(5, "30分钟");
	duration.put(6, "连续");
    }
    
    public static HashMap<Integer, Integer> duration_Actual = new HashMap();
    static {
	duration_Actual.put(0, 300000);
	duration_Actual.put(1, 600000);
	duration_Actual.put(2, 900000);
	duration_Actual.put(3, 1200000);
	duration_Actual.put(4, 1500000);
	duration_Actual.put(5, 1800000);
	duration_Actual.put(6, Integer.MAX_VALUE);
    }
}
